package com.yl.auth.model.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.naming.Name;
import java.io.Serializable;
import java.util.Date;

/**
 * @author 刘致远
 * @datetime 2023/6/25 10:29
 * @description 类对象
 */
@Data
public class LaorenYaopinVo implements Serializable {
    /**
     * 老人字段
     */
    @ApiModelProperty("老人姓名")
    private String name;
    @ApiModelProperty("床位外键id")
    @TableField(value = "bed_id")
    private Long bedId;
    @ApiModelProperty("房间外键id")
    @TableField(value = "room_id")
    private Integer roomId;

    /**
     * 房间字段
     */
    @ApiModelProperty("房间号")
    @TableField(value = "room_no")
    private Integer roomNo;

    /**
     * 床位字段
     */
    @ApiModelProperty("床位号")
    @TableField(value = "bed_no")
    private String bedNo;

    /**
     * 药品字段
     */
    @ApiModelProperty("药品id")
    @TableField(value = "id")
    private Integer ypid;
    @ApiModelProperty("药品名称")
    @TableField(value = "name")
    private String yname;
    @ApiModelProperty("药品数量")
    private String number;
    @ApiModelProperty("药品有效期")
    @TableField(value = "youxiao_time")
    private Date youxiaoTime;
    @ApiModelProperty("剂量")
    private String jiliang;
    @ApiModelProperty("服法")
    private String fufa;

    /**
     * 老人药品字段
     */
    @ApiModelProperty("老人药品中间表id")
    private Integer id;
    @ApiModelProperty("老人外键id")
    private Integer lid;
    @ApiModelProperty("药品外键id")
    private Integer yid;
    @ApiModelProperty("服药计划")
    private String fuyaojihua;
    @ApiModelProperty("开始时间")
    @TableField(value = "star_time")
    private Date starTime;
    @ApiModelProperty("结束时间")
    @TableField(value = "end_time")
    private Date endTime;
}
